 * =============================================================================
 * SourceMod Bots for Day of Defeat Source BETA
 * (C)2010 Dog - www.theville.org
 *
 * SourceMod (C)2004-2008 AlliedModders LLC.  All rights reserved.
 * =============================================================================
 *

DODS-BOTS

DODS has been without working bots since the inception of the game. People can spawn bots but they just stand there.
Development began in 2009 with bots for Left4DoD and this project was forked in 2010 to create working bots for DoDS.

Currently there are no other working bots for DoDS

Users can use this thread to report issues.

Rather than saying 'The bot mod is broken', try to figure out where the bug is happening, what is causing it, does it only happen after certain events, how often does it happen, and maybe offer suggestions for a fix.

VIDEO
Sample video by Alencore: http://www.youtube.com/watch?v=_QIP77bbPXk


INSTALLATION
To make it work you need to:

1. Create a SRCDS install of DoDS on your machine - make a DoDS server
This is self-explanatory: http://www.srcds.com/

2. Install MetaMod: http://www.metamodsource.net/
Install notes: http://wiki.alliedmods.net/Installing_Metamod:Source

3. Next install SourceMod: http://www.sourcemod.com/downloads.php
Install notes: http://wiki.alliedmods.net/Installing_SourceMod

4. Get SDKHooks: http://forums.alliedmods.net/showthread.php?t=106748

5. Get DoDHooks: http://dodsplugins.com/download/file.php?id=50

6. Get DoDS-Bots: http://www.theville2.org/dods-bots/

After each stage, test and run your server to make everything is working.

NOTES
1. The plugin is initially set up with 8 bots - 4 per side.
If you want to run with fewer bots, change the cvar bots_number in your server.cfg file.

2. If you inadvertently run a map without map data, the plugin will shut off and no bots will appear.
You will need to set 'bots_setup 0' and 'bots_enabled 1' and reload one of the set maps.

3. The bots are accurate. Adjust their accuracy in the /data/botsprofile.db file.

4. This plugin will generate log files in /addons/sourcemod/logs/

5. This plugin has been tested on a updated DoDS server with the base SourceMod 1.3.8 install, with the following popular plugins:

    * SourceBans plugin,
    * HLStatsX:CE plugin,
    * Admin Sentinel plugin,
    * CommsTools plugin,
    * AdsMySQL plugin,
    * Permanent Rename plugin,
    * Rcon Lock plugin,
    * Radio plugin


Plugins that currently do not run with DoDS-Bots:

    * DoD Block Exploits


6. This plugin is NOT intended as a method for server filling. If you need bots to fill your server, you have serious issues. The only thing that will fill a server is other humans. Remember that a community is what fills a server so try and get a community going first.

7. I recommend that you do not try and make the bots seem human by giving them tags etc. Players will figure out you are trying to fool them and not come back.

8. Each bot is CPU intensive so the more bots you have, the more lag you may experience. The SourceMod script is fast, but not as fast as C++. If you find you server getting laggy, reduce the number of bots.

9. You cannot install the bots on a listen server since VALVe's last update. Install a SRCDS setup instead.

10. Running bots on your gaming machine, while playing on it at the same time, is not recommended.


CVARS
bots_enabled <0|1>
--Default is 1
--Used to turn on and off the plugin

bots_setup <0|1>
--Default is 0
--Used to switch the plugin into setup mode for waypointing

bots_number <#>
--Default is 8
--Number of bots that spawn at the beginning of the map

bots_info <0|1>
--Default is 0
--Will report what bots are doing such as the entity of the flag they are trying to cap

bots_maxsets <#>
--Default is 8
--Sets the number of waypoint sets required, PER TEAM. So if you specify 8, then you must have 8 waypoint sets for each team.

bots_leave <#>
--Default is 8
--The number of humans needed to force bots to start leaving

DOWNLOAD
http://www.theville2.org/dods-bots
Instructions for installation in the package.

SOURCE
https://www.assembla.com/code/dods-b...on/nodes/trunk

UPDATES
October 8, 2011: v1.4.5.1 - Re-added reliance on DoDHooks

August 12, 2011: v1.4.5 - Removed the reliance on DoDHooks

August 11, 2011: v1.4.4 - Fix an issue with timers

August 11, 2011: v1.4.3 - Fixed a bug where bots would still load at map start

August 9, 2011: v1.4.2 - Fixed the bug where bots would not leave as more human players joined 